/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-11-25     86159       the first version
 */
#ifndef APPLICATIONS_EVENT_H_
#define APPLICATIONS_EVENT_H_

#include <rtdef.h>
#include<rtthread.h>
#include<rtdbg.h>
#include<errno.h>

rt_event_t event1;
rt_thread_t th11,th22,th33;

#define EVENT_FLAGS_1 (0x1<<0)
#define EVENT_FLAGS_2 (0x1<<1)
#define EVENT_FLAGS_3 (0x1<<2)
void th111_entry(void *parameter);
void th222_entry(void *parameter);
void th333_entry(void *parameter);
int event(void);

#endif /* APPLICATIONS_EVENT_H_ */
